.PHONY:all clean
all:Test main
Test:Test.c
	gcc -o $@ $^ -lpthread
main:main.cc
	g++ -o $@ $^ -std=c++11 -lpthread
clean:
	rm -r Test